# -*- coding:utf-8 -*-
from module_page.base_page import BasePage


class ManagerHomePage(BasePage):
    def into_test_category(self):  # 进入试题类别
        self.driver.get(
            self.manager_base_url + '/homePage/learning/topicCategoryManage?pageTitle=试题类别管理（新）')

    def into_enroll_manage(self):  # 进入报名管理模块
        self.driver.get(
            self.manager_base_url + '/homePage/learning/signUpManage?pageTitle=报名管理')

    def into_enroll_template(self):  # 进入报名模板模块
        self.driver.get(
            self.manager_base_url + '/homePage/learning/signUpTemplate?pageTitle=报名模板')

    def into_train_manage(self):  # 进入培训班管理模块
        self.driver.get(
            self.manager_base_url + '/homePage/learning/trainClassManage?pageTitle=培训班管理')

    def into_examination_arrange(self):  # 进入考试安排模块
        self.driver.get(
            self.manager_base_url + '/homePage/learning/examPlanPage?pageTitle=考试安排（新）')

    def into_course_category(self):  # 进入课程类别模块
        self.driver.get(
            self.manager_base_url + '/homePage/learning/courseCategoryManage?pageTitle=课程类别管理')

    def into_course_manage(self):  # 进入课程管理模块
        self.driver.get(
            self.manager_base_url + '/homePage/learning/courseCategoryManage?pageTitle=课程管理')

    def into_regulation_category(self):  # 进入制度类别模块
        self.driver.get(
            self.manager_base_url + '/homePage/ruleCategoryManage?pageTitle=制度类别（新）')

    def into_regulation_manage(self):  # 进入制度类别模块
        self.driver.get(
            self.manager_base_url + '/homePage/ruleManage?pageTitle=制度管理（新）')


